<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>模板文件</title>
</head>
<body>
    <h2>成功</h2>
    <hr/>
    <p th:text="${name}">这里显示名字</p>
</body>
</html>